package Oop.ooptest.test08;

public class Doctor extends Person{


    @Override
    public void earnMoney() {
        System.out.println("医生靠手术和看病挣钱");
    }
    public int earnMoneyMonth(){
        return 10000;
    }

}
